package com.chen.mysqltopostgres;

import net.sf.jsqlparser.JSQLParserException;

import java.io.IOException;

/**
 * @author: cgd
 * @description: sql文件读取
 * @date: 2022/8/1 15:05
 * @version: 1.0
 */
public interface SqlFileReader {
    /**
     * sql文件读取
     *
     * @param filePath 读出SQL文件路径
     * @throws IOException         IO异常
     * @throws JSQLParserException SQL解析异常
     */
    void read(String filePath) throws IOException, JSQLParserException;
}
